package com.todo.user.iface.backend.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2024/3/17 19:50
 * @description
 */
@Data
@Schema(title = "根据主键查询用户详情信息入参", description = "根据主键查询用户详情信息入参")
public class QueryUserAccountDetailReq {
    /**
     * 主键
     */
    @Schema(title = "主键", description = "主键")
    private Long userId;

    public boolean baseCheck() {
        if (userId == null || userId < 0){
            return false;
        }
        return true;
    }
}
